import request from '@/utils/request.js'
export const getToken = (data) => {
	return request({
		url: '/users/wxlogin',
		method: 'post',
		data
	})
}

export const createOrder = (data) => {
	return request({
		url: '/my/orders/create',
		method: 'post',
		data
	})
}

export const getOrder = (data) => {
	return request({
		url: '/my/orders/req_unifiedorder',
		method: 'post',
		data
	})
}
